#ifndef MAINWINDOW_H
#define MAINWINDOW_H



#include <QMainWindow>



class QTreeView;



namespace Ui {
    class MainWindow;
}



class MainWindow : public QMainWindow
{
    Q_OBJECT

public:

    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();


protected:

    void closeEvent(QCloseEvent *);
    void resizeEvent(QResizeEvent *e);


private:

    Ui::MainWindow *ui;


private slots:

    void on_tabWidget_tabCloseRequested(int index);

    void on_actionNew_Character_triggered();
    void on_actionNew_Campaign_triggered();

    void on_actionOpen_triggered();
    void on_actionSave_triggered();
    void on_actionSave_As_triggered();
    void on_actionClose_Current_triggered();
    void on_actionQuit_triggered();


    void on_actionDelete_triggered();
    void on_actionAdd_triggered();

    void on_actionCreate_Group_triggered();
    void on_actionCreate_Item_triggered();
    void on_actionCreate_Reference_triggered();


};



#endif // MAINWINDOW_H


